package com.boang.abs;

/*
  @author: 13813
  @date: 2024/11/19 15:38
*/
public class Square {
    public int length;

    //周长
    public int perimeter() {
        return length * 4;
    }

    //面积
    public int area() {
        return length * length;
    }
}
